public class Diamond1 {
	public static void main(String[] args){
		for (int i=0; i<10; i+=2) {
			for (int j=0; j<10-i/2; j++)
				System.out.print(" ");
			for (int j=1; j<i; j++)
				System.out.print("*");
			System.out.println();
		}
		for (int i=10; i>0; i-=2) {
			for (int j=0; j<10-i/2; j++)
				System.out.print(" ");
			for (int j=1; j<i; j++)
				System.out.print("*");
			System.out.println();
		}
	}
}